// class vueGenerator {
//   protected static download(data: any) {},
//   protected static upload(data: any) {},
//   protected static generator(data: any, type: string = 'download') {

//   },
// }

export const getCodeList = () => {
	const list = [
		{
			id: '1',
			fileName: 'index.vue',
			mode: 'vue',
			path: 'src/views/menu/index.vue',
			vueModel: `<template>
        <div>aaa</div>
        <div ref="aa123456"></div>
        </template>
        <script setup lang="ts">
        const aa123456 = ref();
         ref.value.innerHtml = "aa123456"
         </script>`
		},
		{
			id: '2',
			fileName: 'add-or-edit.vue',
			mode: 'vue',
			path: 'src/components/menu/add-or-edit.vue',
			vueModel:
				'<template><div>bbb123</div><div ref="aa123456"></div></template><script setup lang="ts">const aa123456 = ref(); ref.value.innerHtml = "aa123456"</script>'
		},
		{
			id: '3',
			fileName: 'view.vue',
			mode: 'vue',
			path: 'src/components/menu/view.vue',
			vueModel:
				'<template><div>ccc123</div><div ref="aa123456"></div></template><script setup lang="ts">const aa123456 = ref(); ref.value.innerHtml = "aa123456"</script>'
		},
		{
			id: '4',
			fileName: 'index.ts',
			mode: 'typescript',
			path: 'src/api/menu/index.ts',
			vueModel: `/**
       * 获取git列表
       */
      export const getGitList = async () => {
		      const url = "/api/v4/users/13/projects"
		      return service.get(url)
		    };
        
         /**
       * 获取git列表
       */
         export const getGitList = async () => {
		      const url = "/api/v4/users/13/projects"
		      return service.get(url)
		    };
        
        /**
       * 获取git列表
       */export const getGitList = async () => {
		      const url = "/api/v4/users/13/projects"
		      return service.get(url)
		    };
        
        /**
       * 获取git列表
       */export const getGitList = async () => {
		      const url = "/api/v4/users/13/projects"
		      return service.get(url)
		    };
        
        /**
       * 获取git列表
       */export const getGitList = async () => {
		      const url = "/api/v4/users/13/projects"
		      return service.get(url)
		    }`
		}
	]
	return list
}
